#ifndef _SPHERE_H
#define _SPHERE_H

#include "object.h"
#include "point.h"
#include "intersection.h"
#include "camera.h"
#include "vector.h"

namespace rt
{

class Sphere : public Object
{
public:
    Sphere();
    Sphere(Point p, double r);
    Intersection intersect(Ray r);

protected:
    Point centre;
    double rayon;
};

}
#endif
